  /**
   * Generate time : 2016-04-27 9:58:31
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;

import java.util.HashMap;
import java.util.Map;

import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKKCSB 
 * table comment : 库存水泵 
 */
public class ZMCKKCSB extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdYjsfId = " ";		/* 雨季三防主表ID*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdFhssJcr = " ";		/* 检查人*/
	private String fdFhssTime = " ";		/* 检查时间*/
	private String fdDepartmentId = " ";		/* 责任单位ID*/
	private String fdDepartment = " ";		/* 责任单位*/
	private String fdPeopleId = " ";		/* 责任人ID*/
	private String fdPeopleName = " ";		/* 责任人*/
	private String fdKcsbName = " ";		/* 库存水泵名称*/
	private String fdKcsbXh = " ";		/* 库存水泵型号*/
	private String fdKcsbLl = " ";		/* 库存水泵流量*/
	private String fdKcsbYc = " ";		/* 库存水泵扬程*/
	private String fdKcsbDjxh = " ";		/* 库存水泵电机型号*/
	private String fdKcsbDjgl = " ";		/* 库存水泵电机功率*/
	private String fdKcsbDjdy = " ";		/* 库存水泵电机电压*/
	private String fdKcsbTs = " ";		/* 库存水泵台数*/
	private String fdKcsbWhts = " ";		/* 库存水泵完好台数*/
	private String fdKcsbSf = " ";		/* 库存水泵三阀是否齐全*/
	private String fdKcsbSg = " ";		/* 库存水泵有无水管*/
	private String fdStatus = " ";
	private String fdDocid="";
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdYjsfId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("雨季三防主表ID");
	eiMetadata.addMeta(eiColumn);

	eiColumn = new EiColumn("fdDocid");
	eiColumn.setFieldLength(35);	
	eiColumn.setDescName("附件");
	eiMetadata.addMeta(eiColumn);

	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssJcr");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("责任单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("责任人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbXh");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵型号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbLl");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵流量");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbYc");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵扬程");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbDjxh");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵电机型号");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbDjgl");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵电机功率");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbDjdy");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("库存水泵电机电压");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbTs");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("库存水泵台数");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbWhts");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("库存水泵完好台数");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbSf");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("库存水泵三阀是否齐全");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdKcsbSg");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("库存水泵有无水管");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKKCSB() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdYjsfId - 雨季三防主表ID
	 * @return the fdYjsfId
	 */
	public String getFdYjsfId() {
		return this.fdYjsfId;
	}
	
	/**
	 * set the fdYjsfId - 雨季三防主表ID
	 */
	public void setFdYjsfId(String fdYjsfId) {
		this.fdYjsfId = fdYjsfId;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdFhssJcr - 检查人
	 * @return the fdFhssJcr
	 */
	public String getFdFhssJcr() {
		return this.fdFhssJcr;
	}
	
	/**
	 * set the fdFhssJcr - 检查人
	 */
	public void setFdFhssJcr(String fdFhssJcr) {
		this.fdFhssJcr = fdFhssJcr;
	}
	/**
	 * get the fdFhssTime - 检查时间
	 * @return the fdFhssTime
	 */
	public String getFdFhssTime() {
		return this.fdFhssTime;
	}
	
	/**
	 * set the fdFhssTime - 检查时间
	 */
	public void setFdFhssTime(String fdFhssTime) {
		this.fdFhssTime = fdFhssTime;
	}
	/**
	 * get the fdDepartmentId - 责任单位ID
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 责任单位ID
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	/**
	 * get the fdDepartment - 责任单位
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartment - 责任单位
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	/**
	 * get the fdPeopleId - 责任人ID
	 * @return the fdPeopleId
	 */
	public String getFdPeopleId() {
		return this.fdPeopleId;
	}
	
	/**
	 * set the fdPeopleId - 责任人ID
	 */
	public void setFdPeopleId(String fdPeopleId) {
		this.fdPeopleId = fdPeopleId;
	}
	/**
	 * get the fdPeopleName - 责任人
	 * @return the fdPeopleName
	 */
	public String getFdPeopleName() {
		return this.fdPeopleName;
	}
	
	/**
	 * set the fdPeopleName - 责任人
	 */
	public void setFdPeopleName(String fdPeopleName) {
		this.fdPeopleName = fdPeopleName;
	}
	/**
	 * get the fdKcsbName - 库存水泵名称
	 * @return the fdKcsbName
	 */
	public String getFdKcsbName() {
		return this.fdKcsbName;
	}
	
	/**
	 * set the fdKcsbName - 库存水泵名称
	 */
	public void setFdKcsbName(String fdKcsbName) {
		this.fdKcsbName = fdKcsbName;
	}
	/**
	 * get the fdKcsbXh - 库存水泵型号
	 * @return the fdKcsbXh
	 */
	public String getFdKcsbXh() {
		return this.fdKcsbXh;
	}
	
	/**
	 * set the fdKcsbXh - 库存水泵型号
	 */
	public void setFdKcsbXh(String fdKcsbXh) {
		this.fdKcsbXh = fdKcsbXh;
	}
	/**
	 * get the fdKcsbLl - 库存水泵流量
	 * @return the fdKcsbLl
	 */
	public String getFdKcsbLl() {
		return this.fdKcsbLl;
	}
	
	/**
	 * set the fdKcsbLl - 库存水泵流量
	 */
	public void setFdKcsbLl(String fdKcsbLl) {
		this.fdKcsbLl = fdKcsbLl;
	}
	/**
	 * get the fdKcsbYc - 库存水泵扬程
	 * @return the fdKcsbYc
	 */
	public String getFdKcsbYc() {
		return this.fdKcsbYc;
	}
	
	/**
	 * set the fdKcsbYc - 库存水泵扬程
	 */
	public void setFdKcsbYc(String fdKcsbYc) {
		this.fdKcsbYc = fdKcsbYc;
	}
	/**
	 * get the fdKcsbDjxh - 库存水泵电机型号
	 * @return the fdKcsbDjxh
	 */
	public String getFdKcsbDjxh() {
		return this.fdKcsbDjxh;
	}
	
	/**
	 * set the fdKcsbDjxh - 库存水泵电机型号
	 */
	public void setFdKcsbDjxh(String fdKcsbDjxh) {
		this.fdKcsbDjxh = fdKcsbDjxh;
	}
	/**
	 * get the fdKcsbDjgl - 库存水泵电机功率
	 * @return the fdKcsbDjgl
	 */
	public String getFdKcsbDjgl() {
		return this.fdKcsbDjgl;
	}
	
	/**
	 * set the fdKcsbDjgl - 库存水泵电机功率
	 */
	public void setFdKcsbDjgl(String fdKcsbDjgl) {
		this.fdKcsbDjgl = fdKcsbDjgl;
	}
	/**
	 * get the fdKcsbDjdy - 库存水泵电机电压
	 * @return the fdKcsbDjdy
	 */
	public String getFdKcsbDjdy() {
		return this.fdKcsbDjdy;
	}
	
	/**
	 * set the fdKcsbDjdy - 库存水泵电机电压
	 */
	public void setFdKcsbDjdy(String fdKcsbDjdy) {
		this.fdKcsbDjdy = fdKcsbDjdy;
	}
	/**
	 * get the fdKcsbTs - 库存水泵台数
	 * @return the fdKcsbTs
	 */
	public String getFdKcsbTs() {
		return this.fdKcsbTs;
	}
	
	/**
	 * set the fdKcsbTs - 库存水泵台数
	 */
	public void setFdKcsbTs(String fdKcsbTs) {
		this.fdKcsbTs = fdKcsbTs;
	}
	/**
	 * get the fdKcsbWhts - 库存水泵完好台数
	 * @return the fdKcsbWhts
	 */
	public String getFdKcsbWhts() {
		return this.fdKcsbWhts;
	}
	
	/**
	 * set the fdKcsbWhts - 库存水泵完好台数
	 */
	public void setFdKcsbWhts(String fdKcsbWhts) {
		this.fdKcsbWhts = fdKcsbWhts;
	}
	/**
	 * get the fdKcsbSf - 库存水泵三阀是否齐全
	 * @return the fdKcsbSf
	 */
	public String getFdKcsbSf() {
		return this.fdKcsbSf;
	}
	
	/**
	 * set the fdKcsbSf - 库存水泵三阀是否齐全
	 */
	public void setFdKcsbSf(String fdKcsbSf) {
		this.fdKcsbSf = fdKcsbSf;
	}
	/**
	 * get the fdKcsbSg - 库存水泵有无水管
	 * @return the fdKcsbSg
	 */
	public String getFdKcsbSg() {
		return this.fdKcsbSg;
	}
	
	/**
	 * set the fdKcsbSg - 库存水泵有无水管
	 */
	public void setFdKcsbSg(String fdKcsbSg) {
		this.fdKcsbSg = fdKcsbSg;
	}
	/**
	 * get the fdStatus 
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus 
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	public String getFdDocid() {
		return fdDocid;
	}
	public void setFdDocid(String fdDocid) {
		this.fdDocid = fdDocid;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdYjsfId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYjsfId")), fdYjsfId));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdFhssJcr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssJcr")), fdFhssJcr));
		setFdFhssTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssTime")), fdFhssTime));
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleId")), fdPeopleId));
		setFdPeopleName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleName")), fdPeopleName));
		setFdKcsbName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbName")), fdKcsbName));
		setFdKcsbXh(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbXh")), fdKcsbXh));
		setFdKcsbLl(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbLl")), fdKcsbLl));
		setFdKcsbYc(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbYc")), fdKcsbYc));
		setFdKcsbDjxh(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbDjxh")), fdKcsbDjxh));
		setFdKcsbDjgl(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbDjgl")), fdKcsbDjgl));
		setFdKcsbDjdy(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbDjdy")), fdKcsbDjdy));
		setFdKcsbTs(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbTs")), fdKcsbTs));
		setFdKcsbWhts(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbWhts")), fdKcsbWhts));
		setFdKcsbSf(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbSf")), fdKcsbSf));
		setFdKcsbSg(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKcsbSg")), fdKcsbSg));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdDocid(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDocid")), fdDocid));

	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdYjsfId",StringUtils.toString(fdYjsfId, eiMetadata.getMeta("fdYjsfId")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdFhssJcr",StringUtils.toString(fdFhssJcr, eiMetadata.getMeta("fdFhssJcr")));	
			map.put("fdFhssTime",StringUtils.toString(fdFhssTime, eiMetadata.getMeta("fdFhssTime")));	
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdPeopleId",StringUtils.toString(fdPeopleId, eiMetadata.getMeta("fdPeopleId")));	
			map.put("fdPeopleName",StringUtils.toString(fdPeopleName, eiMetadata.getMeta("fdPeopleName")));	
			map.put("fdKcsbName",StringUtils.toString(fdKcsbName, eiMetadata.getMeta("fdKcsbName")));	
			map.put("fdKcsbXh",StringUtils.toString(fdKcsbXh, eiMetadata.getMeta("fdKcsbXh")));	
			map.put("fdKcsbLl",StringUtils.toString(fdKcsbLl, eiMetadata.getMeta("fdKcsbLl")));	
			map.put("fdKcsbYc",StringUtils.toString(fdKcsbYc, eiMetadata.getMeta("fdKcsbYc")));	
			map.put("fdKcsbDjxh",StringUtils.toString(fdKcsbDjxh, eiMetadata.getMeta("fdKcsbDjxh")));	
			map.put("fdKcsbDjgl",StringUtils.toString(fdKcsbDjgl, eiMetadata.getMeta("fdKcsbDjgl")));	
			map.put("fdKcsbDjdy",StringUtils.toString(fdKcsbDjdy, eiMetadata.getMeta("fdKcsbDjdy")));	
			map.put("fdKcsbTs",StringUtils.toString(fdKcsbTs, eiMetadata.getMeta("fdKcsbTs")));	
			map.put("fdKcsbWhts",StringUtils.toString(fdKcsbWhts, eiMetadata.getMeta("fdKcsbWhts")));	
			map.put("fdKcsbSf",StringUtils.toString(fdKcsbSf, eiMetadata.getMeta("fdKcsbSf")));	
			map.put("fdKcsbSg",StringUtils.toString(fdKcsbSg, eiMetadata.getMeta("fdKcsbSg")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdDocid", StringUtils.toString(fdDocid, eiMetadata.getMeta("fdDocid")));
			
		return map;
	
	}
}